<template>
<!--  新增员工账号模态框-->
    <div>
        <el-form :model="form" label-width="80px" label="left" label-position="left">
            <el-form-item label="账号">
                <el-input v-model="form.admin"></el-input>
            </el-form-item>
            <el-form-item label="姓名">
                <el-input v-model="form.name"></el-input>
            </el-form-item>
            <el-form-item label="手机号">
                <el-input v-model="form.phone"></el-input>
            </el-form-item>
            <el-form-item label="邮箱">
                <el-input v-model="form.email"></el-input>
            </el-form-item>
            <el-form-item label="角色类型">
                <el-select v-model="form.role" placeholder="请选择角色">
                    <el-option label="管理角色" value="admin"></el-option>
                    <el-option label="操作角色" value="operation"></el-option>
                </el-select>
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                form: {
                    admin:'',
                    name:'',
                    phone:'',
                    email:'',
                    role:''
                }
            }
        }
    }
</script>

<style lang="scss" scoped>
.el-select{
    display: block;
}
</style>

